#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

#define NAME_MAX 20
#define POS_MAX 15
#define PEO_MAX 100
#define SEX_CLASS 10
#define CASE break;case

typedef struct PeoInf
{
	char name[NAME_MAX];
	char sex[SEX_CLASS];
	int age;
	char pos[POS_MAX];
}PeoInf;

typedef struct Contact
{
	PeoInf people[PEO_MAX];
	int sz;
}Contact;

enum option
{
	EXIT,
	ADD,
	DEL,
	SEAR,
	REV,
	SORT
};